﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Phatent.Model.Pages;
using Phatent.Command.Pages;
namespace Phatent.Logic.Pages
{
    public class MessageLogic
    {
        public static MessageModel CreateNewMessage(MessageModel model)
        {
            return MessageCommand.CreateNewMessage(model);
        }

        public static void Delete(int id)
        {
            MessageCommand.Delete(id);
        }

        public static MessageCollection Gets(MessageQuery sea)
        {
            return MessageCommand.Gets(sea);
        }
    }
}
